package com.nycreativity.elecreativity.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.nycreativity.elecreativity.entity.BaseEntity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
/**
 * <p>
 * 
 * </p>
 *
 * @author sxt && ttxxi
 * @since 2021-03-11
 */
class User : BaseEntity() {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    var id: Long? = null
    /**
     * 用户名
     */
    var name: String? = null
    /**
     * 密码(加密后)
     */
    var password: String? = null
    /**
     * 别名
     */
    var alias: String? = null
    /**
     * 邮件
     */
    var email: String? = null
    /**
     * 手机号码
     */
    var phoneNum: String? = null
    /**
     * 称谓
     */
    var title: String? = null
    /**
     * 生日
     */
    var birthday: LocalDateTime? = null
    /**
     * 用户状态
     */
    var status: Int? = null


    override fun toString(): String {
        return "User{" +
        "id=" + id +
        ", name=" + name +
        ", password=" + password +
        ", alias=" + alias +
        ", email=" + email +
        ", phoneNum=" + phoneNum +
        ", title=" + title +
        ", birthday=" + birthday +
        ", status=" + status +
        ", ${super.toString()}}"
    }

}
